fun test(some: (Int) -> Int) {
}

fun foo() = test() {if (true) { 0 } else { 1 }}